package com.itheima.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("marketingservice")
public interface MarketingClient {

    @GetMapping("/marketing/{id}")
    Integer findById(@PathVariable("id") Long id);
}
